package project;

import javax.swing.JPanel;

public abstract class LearningTool extends Thread
{
	/**
	 * Holds stats. Don't know if this is ever used anywhere. The plan
	 * was to implement a Statistics-system in the user system.
	 * @deprecated
	 */
	protected int mStats = 0;
	
	/**
	 * Holds the panel. But in facts, not all learning tools uses this one, they
	 * have their own. Use getPanel() to be sure to get the right panel.
	 */
	protected JPanel mToolPanel;

	/**
	 * Constructs the tool.
	 */
	public LearningTool()
	{
		mToolPanel = new JPanel();
	}
	
	/**
	 * Returns the panel that should be added into the main frame of the
	 * V12-application.
	 * 
	 * @return
	 */
	public JPanel getPanel()
	{
		return mToolPanel;
	}
}